﻿using Sustainalytics.LongRunningTaskManager.Interface;
using System;

namespace Sustainalytics.LongRunningTaskManager.Tests
{
    public class MyTaskUnknownError : MyTaskBase
    {
        public override LongRunningTaskTypeEnum Type
        {
            get { return (LongRunningTaskTypeEnum)1006; }
        }

        public override object Start(Interface.LongRunningTaskContext context)
        {
            base.Start(context);

            throw new InvalidOperationException();
        }
    }
}
